package com.yunhe.device.model.base;

import com.yunhe.common.annotation.NameTitle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName EquipmentTypeVo
 * @Description TODO
 * @Author HeTao
 * @Date 2021/7/15 13:26
 * @Version 1.0
 **/
@Data
public class EquipmentTypeVo {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("点号类型编码")
    private String name;

    @ApiModelProperty("点号类型名称")
    private String title;

    @ApiModelProperty("状态")
    private String activity;

    @ApiModelProperty("状态Title")
    @NameTitle(nameCode = "activity",nameType = "ITEM")
    private String activityTitle;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;

    @ApiModelProperty("属性数")
    private int equipAttrCount = 0;

    @ApiModelProperty("点号类型数")
    private int anlogTypeCount = 0;

    @ApiModelProperty("设备数")
    private long equipCount = 0;

    @ApiModelProperty(value = "设备类型图片")
    private String photo;

    @ApiModelProperty(value = "设备属性")
    private List<EquipmentAttributesVo> equipmentAttributesVos;

    @ApiModelProperty(value = "点号类型")
    private List<AnlogTypeVo> anlogTypeVos;

    @ApiModelProperty(value = "设备属性值id")
    private List<Long> equipAttrIds;

    @ApiModelProperty(value = "设备属性值id")
    private List<Long> anlogTypeIds;
}
